﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OracleClient;

namespace BLL.ElecBoss
{
    public class DiarySearch
    {
        OracleDAL.ElecBoss.DiarySearch diarySearch = new OracleDAL.ElecBoss.DiarySearch();
        public DataSet getRecordByDate(string strStart, string strEnd)
        {
            DataSet ds = new DataSet();
          
            ds = diarySearch.getRecordByDate(strStart, strEnd);
            return ds;
        }
          /// <summary>
       /// 获取记录
       /// </summary>
       /// <param name="strStart">开始时间</param>
       /// <param name="strEnd">结束时间</param>
       /// <param name="userISN">用户ID</param>
       /// <returns></returns>
        public DataSet getRecord(string strStart, string strEnd, string userISN)
        {
            return diarySearch.getRecord(strStart, strEnd, userISN);
        }
        public DataSet getRecordByCall(string strStart, string strEnd)
        {
            DataSet ds = new DataSet();
            ds = diarySearch.getRecordByCall(strStart, strEnd);
            return ds;
        }
    }
}
